import { defineStore } from 'pinia'

export const setReply = defineStore('reply', {
  state: () => ({
    state: true,
    text: '正在忙，稍后为您解答！'
  }),
  actions: {
    setReply(state: boolean) {
      this.state = state
    },
    setText(text: string) {
      this.text = text
    }
  }
})
